const procure = [
  {
    name: "procure",
    path: "/procure",
    hidden: false,
    redirect: "noRedirect",
    component: "Layout",
    alwaysShow: true,
    permissions: "purchase",
    meta: {
      title: "采购管理",
      noCache: false,
      link: null,
    },
    children: [
      {
        name: "ErpPurchaseIndex",
        path: "ErpPurchaseIndex",
        hidden: false,
        component: "procure/ErpPurchase/ErpPurchaseIndex",
        permissions: "purchase:erp:list",
        meta: {
          title: "线上采购管理",
          noCache: false,
          link: null,
        },
      },
      {
        name: "purchaseAuditIndex",
        path: "purchaseAuditIndex",
        hidden: false,
        component: "procure/purchaseAudit/purchaseAuditIndex",
        permissions: "purchase:audit:list",
        meta: {
          title: "线上采购审核",
          noCache: false,
          link: null,
        },
      },
      {
        name: "B2bPurchaseIndex",
        path: "B2bPurchaseIndex",
        hidden: false,
        component: "procure/B2bPurchase/B2bPurchaseIndex",
        permissions: "purchase:b2b:list",
        meta: {
          title: "线下采购订单",
          noCache: false,
          link: null,
        },
      },

      {
        name: "purchaseReturnErpIndex",
        path: "purchaseReturnErpIndex",
        hidden: true,
        component: "procure/purchaseReturnErp/purchaseReturnErpIndex",
        // permissions: "setting:company:list",
        meta: {
          title: "线上退货管理",
          noCache: false,
          link: null,
        },
      },

      {
        name: "purchaseReturnB2bIndex",
        path: "purchaseReturnB2bIndex",
        hidden: true,
        component: "procure/purchaseReturnB2b/purchaseReturnB2bIndex",
        // permissions: "setting:company:list",
        meta: {
          title: "线下退货管理",
          noCache: false,
          link: null,
        },
      },
    ],
  },
];
export default procure;
